Skip to main content

Package Update

Update packages latest releaces

root@GL-MT3000:~# opkg update
Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.

Upgrade specific package

To upgrade one specific package ie python3

opkg upgrade python3

upgrade all availables updates

You can pipe commands to upgrade all upgradable packages:

root@GL-MT3000:~# opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade
Upgrading luci-app-opkg on root from git-22.154.41894-1cf976c to git-22.273.29015-e01e38c...
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/luci-app-opkg_git-22.273.29015-e01e38c_all.ipk
Upgrading python3-urllib on root from 3.9.13-1 to 3.9.15-1...
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/python3-urllib_3.9.15-1_aarch64_cortex-a53.ipk
Upgrading python3-light on root from 3.9.13-1 to 3.9.15-1...
...
Configuring luci-app-opkg.
Configuring libpython3-3.9.
Configuring python3-base.
Configuring python3-light.
...
root@GL-MT3000:~#